package com.acquisition.param.domain;

/**
 * 上传参数
 *
 * @author wuqiwei
 * @date 2020/10/15
 */
public class UploadParam {

	/**
	 * 服务器数量
	 */
	private Integer serverCount;

	/**
	 * 服务器地址1
	 */
	private String ip1;

	/**
	 * 服务器端口1
	 */
	private Integer port1;

	/**
	 * 服务器地址2
	 */
	private String ip2;

	/**
	 * 服务器端口2
	 */
	private Integer port2;

	/**
	 * 服务器地址3
	 */
	private String ip3;

	/**
	 * 服务器端口3
	 */
	private Integer port3;

	/**
	 * 服务器地址4
	 */
	private String ip4;

	/**
	 * 服务器端口4
	 */
	private Integer port4;

	/**
	 * 实时上传间隔，单位为s
	 */
	private Integer interval;

	/**
	 * 实时数据上传标志：1-上传，0-不上传
	 */
	private Integer realTimeUpload;

	public UploadParam() {
		super();
	}

	public UploadParam(Integer serverCount, String ip1, Integer port1, String ip2, Integer port2, String ip3,
					   Integer port3, String ip4, Integer port4, Integer interval, Integer realTimeUpload) {
		super();
		this.serverCount = serverCount;
		this.ip1 = ip1;
		this.port1 = port1;
		this.ip2 = ip2;
		this.port2 = port2;
		this.ip3 = ip3;
		this.port3 = port3;
		this.ip4 = ip4;
		this.port4 = port4;
		this.interval = interval;
		this.realTimeUpload = realTimeUpload;
	}

	public Integer getServerCount() {
		return serverCount;
	}

	public void setServerCount(Integer serverCount) {
		this.serverCount = serverCount;
	}

	public String getIp1() {
		return ip1;
	}

	public void setIp1(String ip1) {
		this.ip1 = ip1;
	}

	public Integer getPort1() {
		return port1;
	}

	public void setPort1(Integer port1) {
		this.port1 = port1;
	}

	public String getIp2() {
		return ip2;
	}

	public void setIp2(String ip2) {
		this.ip2 = ip2;
	}

	public Integer getPort2() {
		return port2;
	}

	public void setPort2(Integer port2) {
		this.port2 = port2;
	}

	public String getIp3() {
		return ip3;
	}

	public void setIp3(String ip3) {
		this.ip3 = ip3;
	}

	public Integer getPort3() {
		return port3;
	}

	public void setPort3(Integer port3) {
		this.port3 = port3;
	}

	public String getIp4() {
		return ip4;
	}

	public void setIp4(String ip4) {
		this.ip4 = ip4;
	}

	public Integer getPort4() {
		return port4;
	}

	public void setPort4(Integer port4) {
		this.port4 = port4;
	}

	public Integer getInterval() {
		return interval;
	}

	public void setInterval(Integer interval) {
		this.interval = interval;
	}

	public Integer getRealTimeUpload() {
		return realTimeUpload;
	}

	public void setRealTimeUpload(Integer realTimeUpload) {
		this.realTimeUpload = realTimeUpload;
	}

	@Override
	public String toString() {
		return "UploadParam [serverCount=" + serverCount + ", ip1=" + ip1 + ", port1=" + port1 + ", ip2=" + ip2
				+ ", port2=" + port2 + ", ip3=" + ip3 + ", port3=" + port3 + ", ip4=" + ip4 + ", port4=" + port4
				+ ", interval=" + interval + ", realTimeUpload=" + realTimeUpload + "]";
	}

}
